<!DOCTYPE html>
<!-- saved from url=(0033)./user/login -->
<html lang="zh">
  <head>
    <title>大众云-专注开发者服务 | 企业签名 | tf签名 | 开发者账号 | iOS账号 | iOS上架 | app分发 | 应用分发 | App内测分发</title>
    <meta name="description" content="专业tf签名,企业签名,超级签名,开发者账号,iOS账号,iOS上架,app分发,应用分发,云存储,应用分发,应用内测">
    <meta name="keywords" content="tf签名,企业签名,开发者账号,iOS账号,iOS上架,app分发,iOS签名,应用分发">

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="baidu-site-verification" content="WDULFadCJ9" />

    <link
      rel="shortcut icon"
      href="./static/favicon.ico"
      type="image/x-icon"
    />
    <link
      rel="stylesheet"
      href="./static/font_780494_fdjuk9baed7.css"
    />
    <link
      rel="stylesheet"
      type="text/css"
      href="./static/bootstrap.min.css"
    />
    <link rel="stylesheet" type="text/css" href="./static/base.css" />
    <link rel="stylesheet" type="text/css" href="./static/main.css" />
    <link rel="stylesheet" type="text/css" href="./static/h5.css" />
    <script
      type="text/javascript"
      src="./static/jquery.min.js"
    ></script>
    <script
      type="text/javascript"
      src="./static/bootstrap.min.js"
    ></script>
    <script type="text/javascript" src="./static/vue.js"></script>
    <script type="text/javascript" src="./static/js.js"></script>
    
    <script>
      isHideFooter = false;
    </script>
    <script src="./static/base.js"></script>

    <style>
      
      #captcha[disabled]{ 
        color: #999!important;
      }
    </style>
  </head>
  <body>
    <script
      type="text/javascript"
      src="./static/jquery.validate.min.js"
    ></script>
    <script
      type="text/javascript"
      src="./static/jquery.cookie.js"
    ></script>
    <!--登录-->
    <div class="login-common-wrap">
      <div class="login-logo-wrap">
        <div class="text-center">
          <a href="javascript:;"
            ><img
              style="display: inline-block"
              src="./static/phone-logo.png"
              class="img-responsive"
          /></a>
        </div>
        <span class="slogan-text">国内领先的移动应用服务平台</span>
      </div>
      <div class="login-common">
        <div class="tit">登录</div>
        <form role="form" id="loginValid" novalidate="novalidate">
          <input
            type="password"
            style="position: absolute; top: -999px"
            aria-invalid="false"
          />
          <div class="form-group">
            <label class="iconfont icon-tel" for="user"></label>
            <input
              type="text"
              class="form-control input-lg"
              id="user"
              aria-describedby="helpBlock2"
              placeholder="请输入手机号"
            />
            <span class="help-block">请输入正确的手机号</span>
          </div>
          <div class="form-group" style="position: relative;">
            <label class="iconfont icon-pwd" for="password"></label>
            <input
              class="form-control input-lg"
              id="password"
              placeholder="请输入密码"
              type="password"
            />
            <div id="captcha" onclick="djs(this)" style="cursor: pointer;position: absolute;bottom: -23px;right: 0;color:#000;user-select: none;">获取验证码</div>
            <span class="help-block">请输入正确的密码</span>
          </div>
          <!-- <div class="checkbox">
            <input type="checkbox" id="remember-me" checked="checked" /><span
              >记住我</span
            >
          </div> -->
          <button
            type="button"
            class="ms-btn ms-btn-primary input-lg mt20"
            id="submitButton"
          >
            登录
          </button>
        </form>
      </div>

      <div class="login-common-tip">
        <p>
          注意：
          大众云依法全力打击和防范互联网电信诈骗犯罪，严禁上传金融贷款、金融吸储、及涉嫌网络电信诈骗等类型App，同时请确保您的
          App 符合《<a href="./about/specification"
            >大众云应用审核规则</a
          >》，违反该规范的 App 将被删除，上传严重违法类App将被禁封账号
        </p>
      </div>

      <div class="login-common-footer">
        <div class="container">
          <div class="login-common-footer-cont text-center clearfix">
            <span
              >大众云网络科技有限公司 www.dzy.im 版权所有
              <!-- <a href="https://beian.miit.gov.cn/" target="_blank"
                >闽ICP备18002436号-2</a> -->
            </span>
            <!-- <a
              target="_blank"
              href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=35010202000885"
              style="
                text-decoration: none;
                height: 20px;
                line-height: 20px;
                margin-left: 10px;
              "
            >
              <img src="./static/jh.png" />
              <span
                style="height: 20px; line-height: 20px; margin: 0px 0px 0px 5px"
                >闽公网安备 35010202000885号</span
              >
            </a> -->
          </div>
        </div>
      </div>
    </div>

    <!--/登录-->

    <script>
      var countdown = 60;
      function djs(obj){
        if($("#captcha")[0].innerText !== '获取验证码'){
          return;
        }
        getcaptcha();
        settime(obj);
      }
      function settime(obj) {
        if (countdown == 0) {
            obj.removeAttribute("disabled");
            obj.innerText = "获取验证码";
            countdown = 60;
            return;
        } else {
            obj.setAttribute("disabled", 'disabled');
            obj.innerText = "重新发送(" + countdown + ")";
            countdown--;
        }
        setTimeout(function() {
          settime(obj) 
        }, 1000)
      }
      // 获取验证码
      function getcaptcha(){
        if($("#captcha")[0].innerText !== '获取验证码'){
          return;
        }

        var user = $("#user").val();
        $.ajax({
          type: "POST",
          url: baseUrl + "/sms/captcha",
          dataType: 'json',
          data: JSON.stringify({ mobile: user }),
          headers: { 
              'Content-Type': 'application/json'  //multipart/form-data;boundary=--xxxxxxx   application/json
          }, 
          success: function(data){
            if (data.code != 200) {
              alert(data.data);
            } else {
              
            }
          }
        });
      }


      $(function () {
        if ($.cookie("bit") === "true") {
          $("#remember-me").attr("checked", "checked");
          $("#user").val($.cookie("user"));
          $("#password").val($.cookie("password"));
        }

        // $("#captcha").click(function (e) {
        //   djs(e);
        //   debugger
        //   if($("#captcha")[0].innerText !== '获取验证码'){
        //     return;
        //   }

        //   var user = $("#user").val();
        //   $.ajax({
        //     type: "POST",
        //     url: baseUrl + "/sms/captcha",
        //     dataType: 'json',
        //     data: JSON.stringify({ mobile: user }),
        //     headers: { 
        //         'Content-Type': 'application/json'  //multipart/form-data;boundary=--xxxxxxx   application/json
        //     }, 
        //     success: function(data){
        //       if (data.code != 200) {
        //         alert(data.data);
        //       } else {
                
        //       }
        //     }
        //   });
        // });

        var referer = "./price";
        // 登录
        $("#submitButton").click(function () {
          var user = $("#user").val();
          var password = $("#password").val();
          
          $.ajax({
            type: "POST",
            url: baseUrl + "/login",
            dataType: 'json',
            data: JSON.stringify({
              identifyCode: password,
              mobile: user
            }),
            headers: { 
                'Content-Type': 'application/json'  //multipart/form-data;boundary=--xxxxxxx   application/json
            }, 
            success: function(data){
              if (data.code != 200) {
                alert(data.message);
              } else {
                // debugger
                localStorage.setItem("token", data.result.token);
                localStorage.setItem("user", user);
                switchTab('InternalTestReleaseInner');
                window.location.href = '/';
              }
            }
          });
        });

        document.onkeydown = function (event) {
          var e = event || window.event;
          if (e && e.keyCode == 13) {
            $("#submitButton").click();
          }
        };

        $("#loginValid").validate({
          errorPlacement: function (error, element) {
            error.appendTo(element.parent().parent());
          },
          rules: {
            mobile: {
              required: true,
              mobile: true,
            },
            password: {
              required: true,
              minlength: 5,
            },
          },
          messages: {
            mobile: {
              required: "手机号不能为空",
              mobile: "请输入正确的手机号",
            },
            password: {
              required: "密码不能为空",
              minlength: "密码长度最少5位",
            },
          },
          highlight: function (element) {
            $(element).closest(".form-group").addClass("has-error");
          },
          unhighlight: function (element) {
            $(element).closest(".form-group").removeClass("has-error");
          },
          errorElement: "label",
          errorPlacement: function (error, element) {
            if (element.parent(".input-group").length) {
              error.insertAfter(element.parent());
            } else {
              error.insertAfter(element);
            }
          },
        });

        if ($.cookie("password") != "") {
          $("#password").val($.cookie("password"));
        }
        if ($.cookie("user") != "") {
          $("#name").val($.cookie("user"));
        }
      });
    </script>
    <!--底部-->
    <!--底部-->

    <!--右侧悬浮-->
    <!-- <ul class="fixed-right right-float-window" style="">
      <li>
        <a href="http://wpa.qq.com/msgrd?v=3&uin=40034503&site=qq&menu=yes/#/login">
          <span class="iconfont icon-qq"></span>
        </a>
      </li>
      <li class="go-top">
        <a href="javascript:;"><span class="iconfont icon-go-top"></span></a>
      </li>
    </ul> -->
    <!--右侧悬浮-->

    <!--弹窗-->

    <div
      class="modal fade ms-modal"
      id="myModalPay"
      tabindex="-1"
      role="dialog"
    >
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title">购买</h4>
          </div>
          <div class="modal-body">
            <div class="font18 color-333">是否完成了购买？</div>
            <p class="mt15">
              请在新打开的页面中完成购买，购买完成后，请根据购买结果点击下面的按钮
            </p>
          </div>
          <div class="modal-footer">
            <input type="hidden" name="order_sn" value="" />
            <button type="button" class="ms-btn ms-btn-primary complete-pay">
              支付成功
            </button>
            <button
              type="button"
              class="ms-btn ms-btn-default fail-pay"
              data-dismiss="modal"
            >
              支付遇到问题
            </button>
          </div>
        </div>
      </div>
    </div>

    <div
      class="modal fade ms-modal"
      id="paySuccessModal"
      tabindex="-1"
      role="dialog"
    >
      <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
          <div class="modal-body">
            <div class="text-center">
              <div><span class="icon icon-modal-success1"></span></div>
              <p class="color-333 bold font16 mt5">购买成功</p>
              <p class="color-333 mt5"></p>
              <div class="mt15">
                <a
                  type="button"
                  class="ms-btn ms-btn-default w90"
                  href="./user/login#"
                  >确定（3）</a
                >
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div
      class="modal fade ms-modal auto-hide-modal"
      id="submitLoading"
      tabindex="-1"
      role="dialog"
    >
      <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
          <div class="modal-body">
            <div class="text-center">
              <div class="auto-hide">
                <span class="icon icon-modal-success3"></span>
                <div class="mt5">已提交，请稍后...</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!--/弹窗-->

    <script src="./static/clipboard.js"></script>
    <script src="./static/common.min.js"></script>
    <script>
      if (!isHideFooter) {
        $(".right-float-window").show();
      }

      $(function () {
        $("body").on("click", ".fail-pay", function () {
          $(".pay-money a:last").removeClass("disabled");
          $(".pay-money a:last").addClass("toPay");
        });
        $("body").on("click", ".complete-pay", function () {
          $(".toPay").removeClass("disabled");
          order_sn = $("#myModalPay").find('input[name="order_sn"]').val();
          if (!order_sn) {
            $("#myModalPay").modal("hide");
            return;
          }

          $.post("/order/check-pay", { order_sn: order_sn }, function (result) {
            if (result.code != 200) {
              $("#myModalPay").modal("hide");
            } else {
              if (
                result.data.service_type == 3 ||
                result.data.service_type == 4
              ) {
                window.location.href = "/publish";
              } else if (result.data.service_type == 2) {
                window.location.href =
                  "/sign/upload?step=4&sign_id=" + result.data.goods_id;
              } else if (result.data.service_type == 1) {
                window.location.href =
                  "/pack?step=5&id=" + result.data.goods_id;
              } else if (result.data.service_type == 5) {
                window.location.href = "/user/order";
              }
            }
          });
        });

        var windowWidth = $(window).width();
        $("body").on("click", ".chatQQ", function () {
          var qq = 40034503;
          if (windowWidth <= 750) {
            /*1234567对应的就是需要聊天的客服*/
            window.location.href = `mqqwpa://im/chat?chat_type=wpa&uin=${qq}&version=1&src_type=web&web_src=oicqzone.com`;
          } else {
            window.location.href = `http://wpa.qq.com/msgrd?v=3&uin=${qq}&site=qq&menu=yes`;
          }
        });

        var source_login = 0;
        if (windowWidth <= 750 && source_login) {
          Modal.templateModal({
            imgName: "modal-bg-3.jpg",
            title1: "提示",
            title2: "",
            p:
              '建议您：<br>尽快<span class="color-danger">电脑</span>登录大众云网站，即可享受<br><span class="iconfont icon-xingxing" style="color: #fec323; font-size: 12px; margin-right: 5px;"></span>免费试用封装打包APP<br><span class="iconfont icon-xingxing" style="color: #fec323; font-size: 12px; margin-right: 5px;"></span>每天免费赠送<span class="color-danger">1000</span>次分发下载次数',
            align: "left", // 居左 left, 居中 center, 居右 right
            btnText: "知道了",
            btnClass: "modal-btn2",
          });
        }

        var num = 3;
        var linkTime = null;
        clearInterval(linkTime);

        function linkfun() {
          if ($("#paySuccessModal").is(":visible")) {
            $("#paySuccessModal a").text("确定（" + num + ")");
            num--;
            if (num <= 0) {
              var href = $("#paySuccessModal a").attr("href");
              window.location.href = href;
            }
          }
        }

        linkTime = setInterval(linkfun, 1000);

      });
    </script>

    <script>
      function alert(
        msg,
        callback,
        cancelCallback,
        align,
        successBtn,
        cancelBtn
      ) {
        if (!align) align = "center";
        if (!successBtn) successBtn = "确定";
        Modal.generalModal({
          backdrop: true, // 点击阴影是否关闭弹窗， // true 开启； false 关闭
          iconClass: "", // success: icon-modal-success1,  error: icon-modal-error2
          title: "", // 弹窗标题
          p: msg, // 弹窗内容
          align: align, // 弹窗内容排列顺序 left center right
          cancelBtnText: cancelBtn, // 取消按钮文字
          successBtnText: successBtn, // 确定按钮文字
          successBtnModal: true, // 点击确定按钮是否关闭弹窗 true 关闭 false 不关闭
          cancelBtnModal: true, // 点击取消按钮是否关闭弹窗 true 关闭 false 不关闭
          successCallback: callback,
          cancelCallback: cancelCallback,
        });
      }

      
  function switchTab(id) {
    $(".ms-nav li").removeClass("active");
    $("#" + id)
      .parent()
      .addClass("active");
    $("#con").load("./" + id + ".html");

    window.sessionStorage.setItem('pageId', id); // 保存页面ID

    let arr = [
      "InternalTestReleaseInner",
      "InternalTestReleaseInnerUpload",
      "mySignInner",
      "uploadApple",
      "tfSignInner",
      "tfSignInnerUpload",
      "appPackageInner",
      "appPackageInnerUpload",
    ];
    if (arr.indexOf(id) > -1) {
      $("#footer").hide();
      if (id === "InternalTestReleaseInner") {
        id = "InternalTestRelease";
      }
      if (id === "InternalTestReleaseInnerUpload") {
        id = "InternalTestRelease";
      }
      if (id === "mySignInner") {
        id = "mySign";
      }
      if (id === "uploadApple") {
        id = "mySign";
      }
      if (id === "tfSignInner") {
        id = "tfSign";
      }
      if (id === "tfSignInnerUpload") {
        id = "tfSign";
      }
      if (id === "appPackageInner") {
        id = "appPackage";
      }
      if (id === "appPackageInnerUpload") {
        id = "appPackage";
      }

      $("#" + id)
        .parent()
        .addClass("active");
    } else {
      $("#footer").show();
    }
  }
    </script>

    <script type="text/javascript" src="//js.users.51.la/21132307.js"></script>
  </body>
</html>
